﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NTiering
{
    [Serializable]
    public class NTieringException : Exception
    {
        public NTieringException() { }
        public NTieringException(string message) : base(message) { }
        public NTieringException(string message, Exception inner) : base(message, inner) { }
        protected NTieringException(
            System.Runtime.Serialization.SerializationInfo info,
            System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }



    [Serializable]
    public class MapperNotFoundException : NTieringException
    {
        public MapperNotFoundException() { }
        public MapperNotFoundException(string message) : base(message) { }
        public MapperNotFoundException(string message, Exception inner) : base(message, inner) { }
        protected MapperNotFoundException(
            System.Runtime.Serialization.SerializationInfo info,
            System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }

    [Serializable]
    public class NullModelException : NTieringException
    {
        public NullModelException() { }
        public NullModelException(string message) : base(message) { }
        public NullModelException(string message, Exception inner) : base(message, inner) { }
        protected NullModelException(
            System.Runtime.Serialization.SerializationInfo info,
            System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }





}
